<template>
  <div>
      <div class="box">
          <p>{{title}}</p>
          <span>{{text}}</span>
          <img src="../../../../static/images/cart/cart01.png" alt="" class="icon">
      </div>
  </div>
</template>

<script>
export default {
    props:['title','text']
}
</script>

<style lang="less" scoped>
.box{
    justify-content: space-between;
    background-color: #fff;
    line-height: 90px;
    height: 90px;
    padding: 0 30px;
    position: relative;
    margin-bottom: 5px;
    .icon{
        width: 15px;
        position: absolute;
        right: 30px;
        top: 30px;
    }
    p{
        font-size: 30px;
        float: left;
    }
    span{
        font-size: 12px;
        color: #d8d8d8;
        margin-right: 30px;
        float: right;
    }
}
</style>